package com.myplans.client.service;

import java.util.List;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
import com.myplans.shared.Category;
import com.myplans.shared.Plan;

@RemoteServiceRelativePath("planService")
public interface PlanService extends RemoteService {
	
	public Plan addPlan(Plan plan);
	
	public List<Plan> getPlans(String categoryName, String searchString);

	public List<Category> getCategories();

}
